<%@ Page Title="Information Management System" Language="C#" MasterPageFile="~/Main.Master"
    AutoEventWireup="true" CodeBehind="ReportCategoryDetail.aspx.cs" Inherits="CARMS.AdminTemplate.ReportCategoryDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:UpdatePanel runat="server">
    <ContentTemplate>
    
    <div class="divSeperatorH20"></div>
    <asp:TabContainer runat="server" ID="tabMain">
        <asp:TabPanel runat="server" ID="tabReportCategory" HeaderText="Report Category Profile">
            <ContentTemplate>
                <table border="0" cellpadding="5" cellspacing="5">
                    <tr>
                        <td>
                            <asp:Label ID="Label001" runat="server" Text="Report Category ID:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:Label runat="server" ID="lblReportID" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblReportName" runat="server" Text="Report Category Name:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtReportName" MaxLength="200" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Report Category Type:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dplReportType" Width="400px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text="Creatation Url:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtCreationUrl" MaxLength="200" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label3" runat="server" Text="View Url:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtViewUrl" MaxLength="200" Width="400px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label5" runat="server" Text="Approve User:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dplApproveUser" Width="400px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td colspan="2">
                            <asp:Button runat="server" ID="btnSaveDetail" OnClick="btnSaveDetail_Click" Text="Save" />
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button runat="server" ID="Button1" Text="Cancel" CausesValidation="false" OnClick="btnCancel_Click" />
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel runat="server" ID="tabButtonPermission" HeaderText="Relative Message Template">
            <ContentTemplate>
                <table border="0" cellpadding="5" cellspacing="5">
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="Label4" runat="server" Text="[Send Message] Button Event to Template Setting:" SkinID="LabelTitle"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label6" runat="server" Text="Button Event:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label7" runat="server" Text="Template List:" SkinID="LabelTitle"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:ListBox ID="listButtonEventSend" runat="server" SelectionMode="Single" Height="150px"  AutoPostBack="true" OnSelectedIndexChanged="listButtonEventSend_OnSelectedIndexChanged"></asp:ListBox>
                        </td>
                        <td valign="top">
                            <asp:CheckBoxList runat="server" ID="chkTemplateListSend" RepeatColumns="3" RepeatDirection="Horizontal">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Button runat="server" ID="btnSaveButtonToTemplate" Text="Save" OnClick="btnSaveButtonToTemplateSend_Click" />
                        </td>
                    </tr>
                    
                      <tr>
                        <td colspan="2">
                            <asp:Label ID="Label8" runat="server" Text="[Delete Message] Button Event to Template Setting:" SkinID="LabelTitle"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label9" runat="server" Text="Button Event:" SkinID="LabelTitle"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label10" runat="server" Text="Template List:" SkinID="LabelTitle"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            <asp:ListBox ID="listButtonEventDelete" runat="server" SelectionMode="Single" Height="150px"  AutoPostBack="true" OnSelectedIndexChanged="listButtonEventDelete_OnSelectedIndexChanged"></asp:ListBox>
                        </td>
                        <td valign="top">
                            <asp:CheckBoxList runat="server" ID="chkTemplateListDelete" RepeatColumns="3" RepeatDirection="Horizontal">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Button runat="server" ID="Button2" Text="Save" OnClick="btnSaveButtonToTemplateDelete_Click" />
                        </td>
                    </tr>
                    
                </table>
            </ContentTemplate>
        </asp:TabPanel>
    </asp:TabContainer>
    </ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
